<?php
	include '../controllers/DBController.php';
	
	$timestamp = $_REQUEST['timestamp'];
	$category = $_REQUEST['category'];
	
	$lettersJson = json_encode(getUpdateLetters($timestamp, $category));
	echo "{\"letters\":".$lettersJson."}";	
?>